package com.shopping.shoppingdemo.service;

import com.shopping.shoppingdemo.domain.dto.StatisticsDayDTO;
import com.shopping.shoppingdemo.domain.po.RequestCountDO;
import com.shopping.shoppingdemo.domain.vo.PageParam;

import java.util.List;

public interface RequestCountService {
//    RequestCountDO getRequestCount(String host);

//    void insert(String host);
//
//    void incrementCount(Long id);
//
//    Long getPvTotalCount();

    List<StatisticsDayDTO> getPvUvDayList(Integer day);
//
    long count();
//
//    // 分页返回 RequestCountDO
    List<RequestCountDO> listRequestCount(PageParam pageParam);
}
